<form method="post" id="loginForm" action="j_security_check">
<input type="text" name="j_username" />
<input type="password" name="j_password"/>
<input type="submit" value="Login"/>
</form>